package com.ytjj.qmyx.mall.mapper;

import com.ytjj.qmyx.mall.model.ImgLibrary;
import com.ytjj.qmyx.mall.model.ImgLibraryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ImgLibraryMapper {
    long countByExample(ImgLibraryExample example);

    int deleteByExample(ImgLibraryExample example);

    int deleteByPrimaryKey(@Param("id") Integer id, @Param("status") Integer status);

    int insert(ImgLibrary record);

    int insertSelective(ImgLibrary record);

    List<ImgLibrary> selectByExample(ImgLibraryExample example);

    ImgLibrary selectByPrimaryKey(@Param("id") Integer id, @Param("status") Integer status);

    int updateByExampleSelective(@Param("record") ImgLibrary record, @Param("example") ImgLibraryExample example);

    int updateByExample(@Param("record") ImgLibrary record, @Param("example") ImgLibraryExample example);

    int updateByPrimaryKeySelective(ImgLibrary record);

    int updateByPrimaryKey(ImgLibrary record);
}